Skip to content

feat(tabs): adds ability to add classname(s) to depth:1 component, TabList#6933

Merged
robertmihaiman merged 1 commit intomainfrom
tabs-classnames
Feb 3, 2026
Merged

feat(tabs): adds ability to add classname(s) to depth:1 component, TabList#6933
robertmihaiman merged 1 commit intomainfrom
tabs-classnames

Conversation

@robertmihaiman
Copy link
Contributor

@robertmihaiman robertmihaiman commented Feb 3, 2026

No description provided.

@robertmihaiman robertmihaiman self-assigned this Feb 3, 2026
@robertmihaiman robertmihaiman requested review from a team and Copilot February 3, 2026 14:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the ability to apply custom CSS class names to the TabList component within the Tabs component. The change allows users to style the tab list container without needing to override internal component styles.

Changes:

  • Added a new optional prop tabListClassName to the Tabs component
  • Updated TabList to accept and apply a className prop using the classNames utility
  • Refactored TabList component from function body to implicit return for cleaner code

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/components/Tabs/Tabs.tsx Added tabListClassName prop and passed it to TabList component
src/components/Tabs/TabList.tsx Added className prop support and refactored to implicit return syntax

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@robertmihaiman robertmihaiman changed the title feat(tabs): adds ability to add classname(s) to depth:1 component, Ta… feat(tabs): adds ability to add classname(s) to depth:1 component, TabList Feb 3, 2026
@robertmihaiman robertmihaiman enabled auto-merge (squash) February 3, 2026 14:46
@robertmihaiman robertmihaiman merged commit 0fa8880 into main Feb 3, 2026
3 checks passed
@robertmihaiman robertmihaiman deleted the tabs-classnames branch February 3, 2026 14:48
moda-automation-devops pushed a commit that referenced this pull request Feb 3, 2026
# [21.8.0](21.7.2...21.8.0) (2026-02-03)

### Features

* **tabs:** adds ability to add classname(s) to depth:1 component, TabList ([#6933](#6933)) ([0fa8880](0fa8880))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants